package com.wuxin.result;

import lombok.*;

/**
 * @program: jinrongxiangmu
 * @ClassName ResponseEnum
 * @description: 通用的枚举类
 * @author: 李尧坤
 * @create: 2025−01-13 20:23
 * @Version 1.0
 **/

@Getter
@AllArgsConstructor
@ToString
public enum ResponseEnum {
    SUCCESS(0,"成功"),
    ERROR(1,"失败"),
    INTEGRALGRADEISNULL(2,"借款额度对象无数据!"),
    UPLOAD_ERROR(3,"上传失败了！"),
    LOGIN_AUTH_ERROR(4,"登录权限存在问题，JWT校验不通过！"),
    MOBILE_EMPTY_ERROR(5,"手机号不能为空"),
    PASSWORD_EMPTY_ERROR(6,"密码不能为空");

    private Integer code;
    private String message;
    //代码不全

}
